package com.xlj.mall.service.impl;

import com.xlj.mall.model.dao.UserMapper;
import com.xlj.mall.model.pojo.User;
import com.xlj.mall.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 16436
 * @version 1.0
 * @date 2021/5/2 12:45
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUser() {
        User user = userMapper.selectByPrimaryKey(10);
        return user;
    }
}
